package com.briup.service;

import com.briup.DTO.AddOrUpdateIndexRecordDTO;
import com.briup.exception.SystemException;
import com.briup.pojo.IndexRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.result.PageTemplate;
import com.briup.result.Result;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【index_record(动物指标记录表)】的数据库操作Service
* @createDate 2024-03-17 17:44:00
*/
public interface IndexRecordService extends IService<IndexRecord> {

    PageTemplate indexQuery(Integer pageNum, Integer pageSize, String startWeight, String endWeight) throws SystemException;

    Result deleteById(String id) throws SystemException;

    Result deleteByIdAll(List<String> ids) throws SystemException;

    Result indexSaveOrUpdate(AddOrUpdateIndexRecordDTO addOrUpdateIndexRecordDTO);
}
